home *** CD-ROM | disk | FTP | other *** search
-
- //------------------------------------------------------------------->
- //
- // thing-2.inc
- //
- // "Easy POV Oven"
- //
- // Written By: Paul T. Dawson
- // ptdawson@voicenet.com
- // http://www.voicenet.com/~ptdawson
- //
- // All code and techniques are PUBLIC DOMAIN - have fun with it!
- //
- //------------------------------------------------------------------->
- //
- // This is Thing_2 - a union of recursive tori.
- //
- //------------------------------------------------------------------->
-
- // Level 1.
-
- #declare ToriOne = union {
-
- torus { 19, 1.8 pigment { Yellow } }
-
- #declare YROT=0
-
- #while (YROT < 360)
-
- torus { 6, 1 rotate x*90 translate x*19 rotate y*YROT
- pigment { Red } }
-
- #declare YROT=YROT+(360/9)
-
- #end
-
- } // End of union.
-
- // Level 2.
-
- #declare ToriTwo = union {
-
- torus { 19, 1.8 pigment { Green } }
-
- #declare YROT=0
-
- #while (YROT < 360)
-
- object { ToriOne scale 0.4
- rotate x*90 translate x*19 rotate y*YROT}
-
- #declare YROT=YROT+(360/9)
-
- #end
-
- } // End of union.
-
- // Level 3.
-
- #declare Thing_2 = union {
-
- torus { 19, 1.8 pigment { Blue } }
-
- #declare YROT=0
-
- #while (YROT < 360)
-
- object { ToriTwo scale 0.4
- rotate x*90 translate x*19 rotate y*YROT}
-
- #declare YROT=YROT+(360/9)
-
- #end
-
- } // End of union.
-
- //------------------------------------------------------------------->
- //
- // End of this file.
-
-